import { defineConfig } from 'vite'
import {resolve } from "path"
// https://vitejs.dev/config/
export default defineConfig({
  build: {
    lib: {
      entry: 'src/demo/overlay/demo1.js',
      formats: ['es'],
    },
    rollupOptions: {
      external: /^lit/,
    },
  },
  resolve: {
    alias: {
      "@": resolve(__dirname, "./src"),
      "@framework": resolve(__dirname, "./src/package/framework"),

    }
  }
})
